import { SM3 } from 'gm-crypto'

export function encryptPassword(password) {
  return SM3.digest(password, 'utf8', 'base64')
}
